package org.vectrics.recruiter.web.tags;

/**
 * @author Mike Moore
 * @version 1.0
 */
import org.apache.log4j.*;
import org.vectrics.recruiter.user.*;
import javax.servlet.jsp.tagext.TagSupport;





public class UserSearchTag extends TagSupport {

	private static final long serialVersionUID = -178819803148418123L;

	static private Category log = Category.getInstance(UserSearchTag.class);
    private RecruitUserProfile userProfile = null;
    
    
    public UserSearchTag() {
    	super();
    }


/*    
    protected String doRender(Request request, Properties attributes) {
        log.debug("doRender() called");
        

        
        Table mainTable = new Table();
        Row mainRow = mainTable.addRow();
        Cell mainCell = mainRow.addCell();
        
        
        
        log.debug("doRender() - creating entry form.");
        SimpleForm form = new SimpleForm(request);
        mainCell.addElement(form);
        form.setAction("/recruit/admin");
        form.addHidden("action", UserSearchAction.ACTION_NAME);
        
        form.showInvalidParams();
        
        Table bigTable = new Table();
        form.addElement(bigTable);
        Row row = bigTable.addRow();
        Cell formLeftCell = row.addCell();
        Cell formBlankCell = row.addCell();
        formBlankCell.setWidth(50);
        Cell formRightCell = row.addCell();
        
        Table leftTable = new Table();
        leftTable.setWidth(300);
        formLeftCell.addElement(leftTable);
        
        Table rightTable = new Table();
        formRightCell.addElement(rightTable);

        form.setTable(leftTable);

        Input edit = form.makeEditRow(UserSearchAction.LAST_NAME_PARAM, "Last Name", true);
        edit.setStyle("width:200;font-family:verdana,arial,sans serif;font-size=
        10px");

        edit = form.makeEditRow(UserSearchAction.FIRST_NAME_PARAM, "First Name", true);
        edit.setStyle("width:200;font-family:verdana,arial,sans serif;font-size=10px");

        form.addSubmitButton("Submit", null);
            
        log.debug("doRender() - done.");
        
        return(mainTable.toString());
    }

*/

        
}
